#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "ClientHandle.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
	Q_OBJECT

	ClientHandle* _client;
	
public:
	explicit MainWindow(QWidget *parent = 0);
	~MainWindow();
	
private:
	Ui::MainWindow *ui;

public slots:
	void onBtnConnect();
	void onBtnDisconnect();
	void onBtnSendMsg();
	void addData(QString data);
};

#endif // MAINWINDOW_H
